package com.dhecp.project.business.domain;

import java.util.Date;

import com.dhecp.core.domain.BaseBusinessEntitySimple;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 汇款收票 实体类
 * @author DH-lwl
 * @version 2020年8月4日
 */
public class StockPaymentInvoiceIn extends BaseBusinessEntitySimple{

	private static final long serialVersionUID = 1L;
	
	private String gName;	//发票名称
	private String gID; 	//型号
	private String gUnit;	//单位
	private Double fSpJe; 	//收票金额
	private Double fSpCe; 	//收票差额
	private Double fFpSl; 	//发票税率
	private Double fTpSl; 	//退票数量
	private Double fTpSl2; 	//退票保存数量
	@JsonFormat(locale = "zh",timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date dFpRq; 	//发票日期
	@JsonFormat(locale = "zh",timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date dSpRq; 	//收票日期
	
	public String getgName() {
		return gName;
	}
	public void setgName(String gName) {
		this.gName = gName;
	}
	public String getgID() {
		return gID;
	}
	public void setgID(String gID) {
		this.gID = gID;
	}
	public String getgUnit() {
		return gUnit;
	}
	public void setgUnit(String gUnit) {
		this.gUnit = gUnit;
	}
	public Double getfSpJe() {
		if (fSpJe == null) {
			return 0.0;
		}
		return fSpJe;
	}
	public void setfSpJe(Double fSpJe) {
		this.fSpJe = fSpJe;
	}
	public Double getfSpCe() {
		if (fSpCe == null) {
			return 0.0;
		}
		return fSpCe;
	}
	public void setfSpCe(Double fSpCe) {
		this.fSpCe = fSpCe;
	}
	public Double getfFpSl() {
		if (fFpSl == null) {
			return 0.0;
		}
		return fFpSl;
	}
	public void setfFpSl(Double fFpSl) {
		this.fFpSl = fFpSl;
	}
	public Double getfTpSl() {
		if (fTpSl == null) {
			return 0.0;
		}
		return fTpSl;
	}
	public void setfTpSl(Double fTpSl) {
		this.fTpSl = fTpSl;
	}
	public Double getfTpSl2() {
		if (fTpSl2 == null) {
			return 0.0;
		}
		return fTpSl2;
	}
	public void setfTpSl2(Double fTpSl2) {
		this.fTpSl2 = fTpSl2;
	}
	public Date getdFpRq() {
		return dFpRq;
	}
	public void setdFpRq(Date dFpRq) {
		this.dFpRq = dFpRq;
	}
	public Date getdSpRq() {
		return dSpRq;
	}
	public void setdSpRq(Date dSpRq) {
		this.dSpRq = dSpRq;
	}
}
